package model.dao;

import java.util.List;

public interface IDAO<T,E> {
	
	T persist(T obj);
	T merge(T obj);
	void delete(T obj);
	List<T> selectAll();
	T findByID(E id);
	void refresh(T obj);
	<M extends T> List<M> selectAllBySubClass(Class<M> m);
	
}
